#Create or edit network address rule
#Its number can be choosen arbitrary
edit nat source rule 10

#Forward traffic of every incoming ip-address
set source address 0.0.0.0/0

#Use network interface eth2 for outgoing traffic
set outbound-interface eth2

#Use ip-masquerading for outgoing traffic
set translation address masquerade 

#Ensure changes take effect
commit
save
